findText

open fun findText(text: String): EditorCommand

Returns a command that allows searching for the given text occurrence from the current caret position in the frame. If match found, this command will select it and scroll down to make it visible, if needed.

Parameters

text

a text to search

Throws

when text is empty